<html>
<head>
<title>PHP Error</title>
<style type="text/css">

body {
background-color:	#fff;
margin:				40px;
font-family:		Lucida Grande, Verdana, Sans-serif;
font-size:			12px;
color:				#000;
}

#content  {
border:				#999 1px solid;
background-color:	#fff;
padding:			20px 20px 12px 20px;
}

h1 {
font-weight:		normal;
font-size:			14px;
color:				#990000;
margin: 			0 0 4px 0;
}
</style>
</head>
<body>

<?

$error_handling = config_item('error_handling');

if (!$error_handling['enable_contact_admin_page']) {

?>
	<div id="content">
		<h1>A PHP Error was encountered</h1>
		<p>Severity: <?= @$severity; ?></p>
		<p>Message:  <?= @$message; ?></p>
		<p>Filename: <?= @$filepath; ?></p>
		<p>Line Number: <?= @$line; ?></p>
	</div>

<? } 

else {

?>

<div style="text-align: center; margin-top: 100px">
	<img src="<?= site_url('images/system_error.png') ?>">
</div>

<?

}

?>

</body>
</html>